import Mock from 'mockjs';

Mock.mock(RegExp('/museum-clue/price/ClueControllerAPI' + '.*'), 'post', {
  code: 200,
  message: '请求成功！',
  data: {
    total: 6,
    ClueList: [
      {
        id: 31,
        sourceCome: '测试3',
        yearId: 0,
        gradeId: 0,
        sortId: 0,
        relativePhone: '136********',
        userName: '测试3',
        findTime: '2021-01-05 09:50:18',
        identifyDesc: '拣选的描述',
        clueDesc: '这是一个大宝贝啊',
        clueName: '测试3',
        price: 0,
        relativeName: '测试3',
        userIdCard: '14021120000******',
        way: '有偿捐赠',
        createTime: '2021-01-23 13:08:23',
        updateTime: '2021-01-23 13:08:23',
        yearName: '宋代',
        sortName: '不可移动文物',
        gradeName: '一级文物',
        status: null
      }
    ]
  }
});

Mock.mock('/museum-clue/other/getOthers', 'get', {
  code: 200,
  message: '请求成功！',
  data: {
    sortList: [
      { id: 1, sortName: '可移动文物' },
      { id: 2, sortName: '不可移动文物' }
    ],
    gradeList: [
      { id: 1, gradeName: '一级文物' },
      { id: 2, gradeName: '二级文物' },
      { id: 3, gradeName: '三级文物' }
    ],
    yearList: [
      { id: 1, yearName: '现代' },
      { id: 2, yearName: '清朝' },
      { id: 3, yearName: '宋代' },
      { id: 4, yearName: '唐代' },
      { id: 5, yearName: '元代' },
      { id: 6, yearName: '明代' }
    ]
  }
});

Mock.mock('/museum-clue/price/commitCol', 'post', {
  code: 200,
  message: '提交成功',
  data: null
});
